#ifndef LOGIN_FORM_H
#define LOGIN_FORM_H

#include "ui_login.h"
#include <QRegExpValidator>
#include <QRegExp>
#include <QDialog>
#include <QWidget>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include "Zarejestrowany.h"
#include "Dane.h"

class LoginForm:public QDialog, public Ui_LogInForm
{
Q_OBJECT
		public:
		LoginForm(QWidget *parent=0);
		~LoginForm(){};

		private slots:
			bool logIn();
			bool registerMe();
		private:
			QRegExpValidator qvalidator;
      Zarejestrowany user;
};

#endif
